
define(function(require, exports, module){
  var router;
  window.routerObj ={}
  window.controller = {play:{}};
  
  require("{root}resource/css/public.css"); 
  require("{root}resource/css/animate.css"); 
  
  require("{root}share"); 
  
  router = require("{root}router"); 
  router = new router();
  Backbone.history.start();

  var mian = {
        initialize:function(argument) {
          window.location.hash == '' && (window.location.href = '#index'); 
          this.bindEvt();
        },
        bindEvt:function(){
            // 绑定公共事件
            // $(window).resize(function(){
            //     var wWidth = $(this).width(),
            //         wHeight = $(this).height(),
            //         id = routerObj.name || '.page';
            //     $('#'+id).css({'width':wWidth+'px'});
            //     $('#'+id).find('.head,.content').css({'width':wWidth+'px'});
            // });

            // $(window).scroll(function(){

            //   if($('#found')){

            //   }

            // });
        },
    }
    mian.initialize();
});
